package controleurs;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.JTable;

import modele.ModeleP;

public class ResumeUpdateControler extends MouseAdapter {
	private ModeleP myModele;
	private JTable myJTab;
	public ResumeUpdateControler(ModeleP myMod, JTable j){
		this.myModele=myMod;
		this.myJTab=j;
	}
	public void mouseClicked(MouseEvent e){
		myModele.setAlbum(myJTab.rowAtPoint(e.getPoint()));
	}
}
